package com.yykj.hospital.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 *
 * Created by chendg on 2021/9/8 0008.
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = { "com.yykj.common", "com.yykj.hospital.server" })
@EnableFeignClients(basePackages = {"com.yykj"})
public class HospitalServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(HospitalServerApplication.class, args);
	}

}
